Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instances to Cli and enable remote vs local run configurations #26

Merged
merged 28 commits into from
Apr 3, 2024

Conversation

sambukowski
Copy link
Contributor

The init, run, and clean commands now have an --instance flag to create multiple configurations with the cli to enable configuring and running several instances of the Astria stack at the same time.
Currently, detailed configuration of each instance is manual once the directory has been initialized.

The init command now also creates both local and remote, config and binary folders for running a sequencer locally or using a remote sequencer.

The run command now has an --local and a --remote flag to chose if you are running a local sequencer or using a remote one.

@sambukowski sambukowski requested a review from steezeburger April 2, 2024 00:19
cmd/devtools/init.go Outdated Show resolved Hide resolved
cmd/devtools/helpers.go Outdated Show resolved Hide resolved
justfile Outdated Show resolved Hide resolved
cmd/devtools/clean.go Outdated Show resolved Hide resolved
cmd/devtools/clean.go Outdated Show resolved Hide resolved
cmd/devtools/run.go Outdated Show resolved Hide resolved
cmd/devtools/run.go Show resolved Hide resolved
cmd/devtools/init.go Show resolved Hide resolved
cmd/devtools/init.go Outdated Show resolved Hide resolved
cmd/devtools/init.go Outdated Show resolved Hide resolved
@sambukowski sambukowski requested a review from steezeburger April 2, 2024 18:53
README.md Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
Copy link
Member

@steezeburger steezeburger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! I left a few extra comments for some cleanup, but I am going to go ahead and approve because it looks good!

cmd/devtools/run.go Outdated Show resolved Hide resolved
cmd/devtools/run.go Outdated Show resolved Hide resolved
cmd/devtools/run.go Outdated Show resolved Hide resolved
@sambukowski sambukowski merged commit 7fc6e07 into main Apr 3, 2024
1 check passed
@sambukowski sambukowski deleted the feat/add-instances branch April 3, 2024 16:13
steezeburger added a commit that referenced this pull request Apr 5, 2024
* main:
  Add instances to Cli and enable remote vs local run configurations (#26)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants